<div class="user_block">
	<div class="header">
		<span><img src="{$avatar}" onerror="javascript:this.src='/public/lboyue/images/noData/avatar.png';"/></span>
	</div>
	<div class="name">{$nickname}</div>
	<div class="user_block_list2">
		<ul>
			<li  style="cursor: default">
                    <span class="borderBottom">
                          <i class="icon1"></i>
                           {:config('virtualname')}：{$egold}                    </span>
                </li>
				<li  style="cursor: default">
                    <span class="borderBottom">
                          <i class="icon1"></i>
                           书币：{$zb+$sign_score}                    </span>
                </li>
                <li  style="cursor: default">
                    <span class="borderBottom">
                          <i class="icon2"></i>
                            VIP会员：{if $is_vip>0}{if $vip_enddate>=time()}还剩<font size="" color="#ff3300">{php} echo round(($vip_enddate-time())/86400);{/php}</font>天过期{else/}已过期{/if}{else/}未开通{/if}                    </span>
                </li>
		</ul>
	</div>
</div>

<div class="user_center">
	<div class="title">
		用户中心
	</div>
	<div class="user_block_list">
		<ul>
			<a href="/personal/info/">
			<li>
				<span class="borderBottom2">
					  <i class="icon4"></i>
						我的书架
				</span>
			</li>
			</a>
			<a href="/pay/index">
				<li>
					<span class="borderBottom2">
						  <i class="icon5"></i>
						   账户充值
					</span>
				</li>
			</a>
			<a href="{:config('writer_url')}">
					<li>
						<span class="borderBottom2">
							  <i class="icon10"></i>
								升级作者
						</span>
					</li>
				</a>
			<a href="/personal/paylog/">
			<li>
				<span class="borderBottom2">
					  <i class="icon11"></i>
						充值记录
				</span>
			</li>
			</a>
			<a href="{:url('user/edit')}">
			<li>
				<span class="borderBottom2">
					  <i class="icon12"></i>
						修改用户信息
				</span>
			</li>
			</a>
		</ul>
	</div>
</div>